ns_emon_poll_policy

Configuration for NetScaler EMON Polling Policy resource.

Read/write properties

ns_ip_address<String[]>

List of NetScaler IP Address.
Minimum length = 1
Maximum length = 64

polling_interval<Integer>

Frequency of polling in minutes.
Minimum value = 30
Maximum value =

act_id<String>

Activity ID that is used by GUI to track the polling status..

Operations

NOTE: In request payload, Mandatory parameters are marked red and bold.

The following parameters can be used in the nitro request :

onerror   <String_value>

Use this parameter to set the onerror status for nitro request. Applicable only for bulk requests.
Default value: EXIT
Possible values = EXIT, CONTINUE

updategetdo_poll

update

URL:https://<MGMT-IP>/nitro/v2/config/ns_emon_poll_policy/

HTTPS Method:PUT

Request Headers:

Content-Type:application/json

X-NITRO-USER:username_value<String>

X-NITRO-PASS:password_value<String>

or

Cookie:NITRO_AUTH_TOKEN=token_value<String>

Request Payload:JSON

{"ns_emon_poll_policy":{
      "polling_interval":<Integer_value>,
      "ns_ip_address":<String_value[]>,
      "act_id":<String_value>}}

Response:

HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx (for general HTTPS errors) or 5xx (for NetScaler-MAS-specific errors). The response payload provides details of the error

Response Payload:JSON

{ "errorcode": 0, "message": "Done", "severity": <String_value>, "ns_emon_poll_policy":[{
      "ns_ip_address":<String_value>,
      "polling_interval":<Integer_value>,
      "act_id":<String_value>}]}

get

URL:https://<MGMT-IP>/nitro/v2/config/ns_emon_poll_policy

HTTPS Method:GET

Request Headers:

Accept:application/json

X-NITRO-USER:username_value<String>

X-NITRO-PASS:password_value<String>

or

Cookie:NITRO_AUTH_TOKEN=token_value<String>

Response:

HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx (for general HTTPS errors) or 5xx (for NetScaler-MAS-specific errors). The response payload provides details of the error

Response Headers:

Content-Type:application/json

Response Payload:JSON

{ "errorcode": 0, "message": "Done", "severity": <String_value>, "ns_emon_poll_policy":[{
      "ns_ip_address":<String_value>,
      "polling_interval":<Integer_value>,
      "act_id":<String_value>}]}

do_poll

URL:https://<MGMT-IP>/nitro/v2/config/ns_emon_poll_policy?action=do_poll&onerror=<String_value>

HTTPS Method:POST

Request Headers:

Content-Type:application/json

X-NITRO-USER:username_value<String>

X-NITRO-PASS:password_value<String>

or

Cookie:NITRO_AUTH_TOKEN=token_value<String>

Request Payload:JSON

{"ns_emon_poll_policy": {
      "polling_interval":<Integer_value>,
      "ns_ip_address":<String_value[]>,
      "act_id":<String_value>}}

Response:

HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx (for general HTTPS errors) or 5xx (for NetScaler-MAS-specific errors). The response payload provides details of the error

Response Payload:JSON

{ "errorcode": 0, "message": "Done", "severity": <String_value>, "ns_emon_poll_policy":[{
      "ns_ip_address":<String_value>,
      "polling_interval":<Integer_value>,
      "act_id":<String_value>}]}